/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.designpatternspart2.proxyPattern;

/**
 *
 * @author Dwayne
 */
public class SlowThing extends Thing {
    
    public String SlowThing()
    {
        try{
            Thread.sleep(5000);
            //return "SlowThing";
        }catch(InterruptedException e)
        {
            e.printStackTrace();
        }
        return "SlowThing";
    }    
}